package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.GiftEvent;
import com.jbp.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 活动礼物(GiftEvent)表服务接口
 * @author cc
 * @since 2020-12-25 12:26:38
 */
public interface GiftEventService extends IService<GiftEvent> {

    List<GiftEvent> goingEvent();

    boolean lock(Integer userId);

    void unLock(Integer userId);

    Integer getScore(Integer eventId);

    void setScore(Integer eventId, Integer score);

    void addTimes(GiftEvent giftEvent);
}